package com.xuecheng.base.model;

/**
 * @Author FengHuan Wang
 * @Date 2025/3/28 20:32
 * @Version 1.0
 */

import io.swagger.annotations.ApiModelProperty;
import io.swagger.annotations.ApiOperation;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 分页查询参数
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class PageParams {

    /**
     * 当前页码
     */
    @ApiModelProperty("页码")
    private Long pageNo = 1L;

    /**
     * 每页记录数默认值
     */
    @ApiModelProperty("每页记录数")
    private Long pageSize = 10L;
}
